#include "board.h"
#include "usart.h"
#include "delay.h"
#include "fmc.h"
#include "systick.h"

#include "FreeRTOS.h"
#include "task.h"

static void Start_Task( void *pvParameters );

int main(void)
{
    systick_config();
    Usart0_Init(115200);
//    delay_init();
    
    xTaskCreate(Start_Task,"Start_Task",512,NULL,1,NULL);
    
    vTaskStartScheduler();
    while(1)
    {
        
    }
}


static void Start_Task( void *pvParameters )
{
    uint32_t count = 0;
    while(1)
    {
        count++;
        debug_printf("System Running(%d)\r\n",count);
        vTaskDelay(1000);
    }
}
